import { request } from './request';

export function requestWeather(areaid) {
  return request({
    // url: 'http://t.weather.itboy.net/api/weather/city/' + areaid,
    url: 'https://tianqiapi.com/api?version=v9&appid=96347447&appsecret=B7Z9RLeA&vue=1&cityid=' + areaid,
  });
}
export function requestLocation(areaid) {
  return request({
    url: 'https://restapi.amap.com/v3/ip?key=0b4af02f367d1a3ae1c2120d6b4c393f',
  });
}
